using System;
using Synapse.Framework.Pipe.BusinessObjects;

namespace Synapse.Framework.Pipe.Attributes
{
    public class ConsoleAction : ActionAttibute
    {
        public override IBusinessObject Before<T>(_<T> input)
        {
            Console.WriteLine(input);
            return base.Before(input);
        }

        public override IBusinessObject After<T>(_<T> output)
        {
            Console.WriteLine(output);
            return base.After(output);
        }
    }
}